'Declaration Public Overloads Overrides NotOverridable Function GetChars( _ ByVal ordinal As Integer, _ ByVal dataOffset As Long, _ ByVal buffer() As Char, _ ByVal bufferOffset As Integer, _ ByVal length As Integer _ ) As Long
'Usage Dim instance As TdDataReader Dim ordinal As Integer Dim dataOffset As Long Dim buffer() As Char Dim bufferOffset As Integer Dim length As Integer Dim value As Long value = instance.GetChars(ordinal, dataOffset, buffer, bufferOffset, length)
public override long GetChars( int ordinal, long dataOffset, char[] buffer, int bufferOffset, int length )
public: int64 GetChars( int ordinal, int64 dataOffset, array<char>^ buffer, int bufferOffset, int length ) override
Parameters
- ordinal
- Column ordinal (see TdDataReader.GetOrdinal).
- dataOffset
- Specifies the index within the field from which to begin the read operation.
- buffer
- Indicates the buffer into which to copy the field.
- bufferOffset
- Specifies the index for the buffer to begin the copy operation.
- length
- Specifies the maximum number of characters to copy into the buffer.
Return Value
Returns the number of characters read and stored into the buffer.